package com.hoshiicloud.goods.entity.sku;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 基础SKU商品图片资源
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_sku_gallery")
public class BaseSkuGallery implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Long id;

    /**
    * sukid
    */
    @TableField("sku_id")
    private Long skuId;


    /**
    * 分类 1-商品主图 2-商品明细图
    */
    @TableField("image_type")
    private Integer imageType;


    /**
    * 图片描述
    */
    @TableField("description")
    private String description;


    /**
    * 商品图片
    */
    @TableField("image")
    private String image;


    /**
    * 创建时间
    */
    @TableField("created_time")
    private LocalDateTime createdTime;


    /**
    * 修改时间
    */
    @TableField("updated_time")
    private LocalDateTime updatedTime;


    /**
    * 建立人
    */
    @TableField("created_by")
    private String createdBy;


    /**
    * 修改人
    */
    @TableField("updated_by")
    private String updatedBy;


    /**
    * 是否删除
    */
    @TableField("deleted")
    private Integer deleted;



}
